Optimal. Leaf size=44 \[ -\frac {\sqrt {1-x} \sqrt {x+1}}{x}+\sin ^{-1}(x)-2 \tanh ^{-1}\left (\sqrt {1-x} \sqrt {x+1}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {98, 157, 41, 216, 92, 206} \begin {gather*} -\frac {\sqrt {1-x} \sqrt {x+1}}{x}+\sin ^{-1}(x)-2 \tanh ^{-1}\left (\sqrt {1-x} \sqrt {x+1}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 41
Rule 92
Rule 98
Rule 157
Rule 206
Rule 216
Rubi steps
\begin {align*} \int \frac {(1+x)^{3/2}}{\sqrt {1-x} x^2} \, dx &=-\frac {\sqrt {1-x} \sqrt {1+x}}{x}-\int \frac {-2-x}{\sqrt {1-x} x \sqrt {1+x}} \, dx\\ &=-\frac {\sqrt {1-x} \sqrt {1+x}}{x}+2 \int \frac {1}{\sqrt {1-x} x \sqrt {1+x}} \, dx+\int \frac {1}{\sqrt {1-x} \sqrt {1+x}} \, dx\\ &=-\frac {\sqrt {1-x} \sqrt {1+x}}{x}-2 \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {1-x} \sqrt {1+x}\right )+\int \frac {1}{\sqrt {1-x^2}} \, dx\\ &=-\frac {\sqrt {1-x} \sqrt {1+x}}{x}+\sin ^{-1}(x)-2 \tanh ^{-1}\left (\sqrt {1-x} \sqrt {1+x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 66, normalized size = 1.50 \begin {gather*} \frac {x}{\sqrt {1-x^2}}-\frac {1}{\sqrt {1-x^2} x}-2 \tanh ^{-1}\left (\sqrt {1-x^2}\right )+2 \sin ^{-1}\left (\frac {\sqrt {1-x}}{\sqrt {2}}\right )+2 \sin ^{-1}(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.09, size = 74, normalized size = 1.68 \begin {gather*} \frac {2 \sqrt {1-x}}{\sqrt {x+1} \left (\frac {1-x}{x+1}-1\right )}-2 \tan ^{-1}\left (\frac {\sqrt {1-x}}{\sqrt {x+1}}\right )-4 \tanh ^{-1}\left (\frac {\sqrt {1-x}}{\sqrt {x+1}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.86, size = 65, normalized size = 1.48 \begin {gather*} -\frac {2 \, x \arctan \left (\frac {\sqrt {x + 1} \sqrt {-x + 1} - 1}{x}\right ) - 2 \, x \log \left (\frac {\sqrt {x + 1} \sqrt {-x + 1} - 1}{x}\right ) + \sqrt {x + 1} \sqrt {-x + 1}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: NotImplementedError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 55, normalized size = 1.25 \begin {gather*} \frac {\sqrt {x +1}\, \sqrt {-x +1}\, \left (-2 x \arctanh \left (\frac {1}{\sqrt {-x^{2}+1}}\right )+x \arcsin \relax (x )-\sqrt {-x^{2}+1}\right )}{\sqrt {-x^{2}+1}\, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.93, size = 42, normalized size = 0.95 \begin {gather*} -\frac {\sqrt {-x^{2} + 1}}{x} + \arcsin \relax (x) - 2 \, \log \left (\frac {2 \, \sqrt {-x^{2} + 1}}{{\left | x \right |}} + \frac {2}{{\left | x \right |}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (x+1\right )}^{3/2}}{x^2\,\sqrt {1-x}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x + 1\right )^{\frac {3}{2}}}{x^{2} \sqrt {1 - x}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________